<div class="title">Danh sách phòng</div>
<div id="buttons">
	<?php echo $this->Html->link('Thêm phòng',array('action' => 'addPhong'), array('class' => 'button blue','id'=> 'addPhong'));?>
</div>
<table width="100%" cellspacing="0">
	<tr>
		<th>STT</th>
		<th>Tên Phòng</th>
		<th>Chức Năng / Nhiệm Vụ</th>
	</tr>
	<?php foreach ($phongs as $key => $phong):?>
	<tr>
		<td align="center"><?php echo $key+1; ?></td>
		<td><?php echo $this->Html->link($phong['Phong']['ten'],array('action' => 'edit', $phong['Phong']['id']));?></td>
		<td align="center"><?php echo $phong['Phong']['chuc_nang']; ?></td>
	</tr>
	<?php endforeach;?>	
</table>
